#include"Server.hpp"

int main(int argc, char* argv[])
{
    if(argc!= 2)
    {
        cout<<"Usage: "<<argv[0]<<" port"<<endl;
        return 1;
    }
    int port = atoi(argv[1]);
    unique_ptr<TcpServer> ptr= make_unique<TcpServer>(port);
    ptr->Init();
    ptr->Start();
    return 0;
}